﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Admin.aspx.cs" Inherits="smallDeimos.Admin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table>
    <tr>
    <td>
    </td>
    <td></td>
    <td></td></tr>
    </table>
        <asp:Label ID="Label1" runat="server" Font-Size="X-Large" Text="Admin panel"></asp:Label>
        <br />
        <br />
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
            Text="Create log table" />
        <asp:Button ID="Button2" runat="server" onclick="Button2_Click" 
            Text="Restart game" 
            BorderStyle="Double" BorderWidth="3px" Height="88px" Width="294px" />
        <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
        <br />
        Query<asp:TextBox ID="TextBox1" runat="server" Width="544px"></asp:TextBox>
        <asp:Button ID="Button4" runat="server" onclick="Button4_Click" Text="Run" />
        <br />
        <asp:Button ID="Button3" runat="server" onclick="Button3_Click" 
            Text="Create world" />
        <asp:Button ID="Button5" runat="server" Height="26px" onclick="Button5_Click" 
            Text="Clean db" />
    
        <asp:TextBox ID="TextBox2" runat="server" Width="608px"></asp:TextBox>
        <asp:Button ID="Button6" runat="server" onclick="Button6_Click" 
            Text="Send message to all players" />
    </div>

    <asp:GridView ID="GridView1" runat="server" DataSourceID="ObjectDataSource1" AutoGenerateColumns="true">
    </asp:GridView>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
        SelectMethod="GetAllNews" TypeName="SD.Database.DataAccess">
    </asp:ObjectDataSource>
    </form>
</body>
</html>
